Repository navigation
feat(keyboard): long-press space can switch the language (#790) - #959
Merged
Merged
Conversation
"Change input method with space key" was an on/off switch for opening the input method picker. It is now a choice: Choose input method (the default and the old "on"), Switch language, or None (the old "off"). Switch language does what the language switch key does, following "Language switch key behavior", without a popup. The choice is stored in a new key; until it is set, the old switch is read, so existing choices are kept. All labels reuse translated strings. A search word lets "language" find the setting.
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #790
Change
Settings → Preferences → Change input method with space key was an on/off switch for opening the input method picker on a long press of the space bar. It is now a list:
Compatibility
space_long_press. Until it is set, the old boolean is read (Settings.readSpaceLongPress), so existing users keep their choice; no migration code.Testing
SpaceLongPressTest(4): default, old switch off/on, new value wins.SettingsContainerTest6: 0 failures.assembleStandardDebugbuilds; settings map unchanged.